﻿using DataAccess.DAO;
using FluentNHibernate.Mapping;

namespace DataAccess.Mappings
{
    public class SessionMap : ClassMap<SessionDAO>
    {
        public SessionMap()
        {
            Id(x => x.SessionId);
            Map(x => x.UserId);
            Map(x => x.SessionStart);
            Map(x => x.SessionEnd);
        }
    }
}
